<div class="primary">
<?= $form->render() ?>
</div>

<div class="secondary">
	<section class="txp-content-switcher">
		<h4 class="doc-outline"><?= $lang->get('all_stylesheets') ?></h4>
		<p class="action-create"><a href="<?= $links['new_style'] ?>"><?= $lang->get('create_new_css') ?></a></p>
		<ul>
<? foreach ($styles as $style): ?>
			<li<?= !empty($style['selected']) ? ' class="selected"' : '' ?>>
				<?= !empty($style['selected']) ? $style['name'] : "<a href=\"{$style['link']}\">{$style['name']}</a>" ?>
<? if (!$style['default']): ?>
				<?= $style['delete_form']->render('delete_style_form') ?>
<? endif; ?>
			</li>
<?endforeach; ?>
		</ul>
	</section>
</div>
